package {
	import org.flixel.*;
	
	public class NPC extends FlxSprite {
		
		[Embed(source = "/../media/NPC.png")] private var ImgNPC1:Class;
		
		private var messages:Array;
		
		
		
		public function NPC(X:Number, Y:Number, graphicNum:Number) {
			super(X, Y);
			loadGraphic(ImgNPC1, false);			
		}
		
		public function getMessage(num:Number):String {
			return messages[num];
		}
		
		public function addMessage(newMessages:Array):void {
			
			messages = newMessages;
			
		}
		
		public function getNumMessages():Number {
			return messages.length;
		}
		
		
	}
	
}